package com.study.hospital_3.mapper;

import com.study.hospital_3.pojo.Drug;
import com.study.hospital_3.vo.DrugUpdateVO;
import com.study.hospital_3.vo.DrugVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DrugMapper {

        List<Drug> selectDrugs(DrugVO drugVO);
        void insert(Drug drug);


        void deleteById(@Param("id") Integer id);

        void updateById(DrugUpdateVO drugUpdateVO);
}
